Unix Timestamp Converter

Seconds or milliseconds, UTC and local, ISO 8601 — all at once

Current timestamp
-
Timestamp → date
Date → timestamp
Everything runs in your browser — nothing you type is sent anywhere. Local time follows this device's time zone.

What this tool does

Converts Unix timestamps (seconds since 00:00 UTC on 1 January 1970) to readable dates, and dates and times back to timestamps. Enter a number to see local time, UTC, ISO 8601, how long ago or ahead it is, and the value in seconds and milliseconds, each with a copy button. Use it for log analysis, checking database values or comparing server and client times.

How it is calculated

A timestamp is the whole number of seconds since 1970-01-01 00:00:00 UTC; milliseconds are 1,000 times that. In auto mode, non-digits are stripped and 12 or more digits are read as milliseconds, fewer as seconds. You can also force seconds or milliseconds. For example, 1700000000 is 22:13:20 UTC on 14 November 2023, or 07:13:20 on the 15th in Korea. The date-to-timestamp box reads the date and time in your browser's time zone and shows seconds, milliseconds, ISO, UTC and the time zone name in use. The current timestamp at the top updates every second.

Things to know

Frequently asked questions

When is timestamp 0?

00:00:00 UTC on 1 January 1970, which is 9 am the same day in Korea (UTC+9).

When is 1700000000?

22:13:20 UTC on 14 November 2023, or 07:13:20 on 15 November in Korea.

Why do programs differ by a factor of 1,000?

Languages like JavaScript use milliseconds by default, while Unix tools and many databases use seconds. Tell them apart by digit count and multiply or divide by 1,000 as needed.

How is local time decided?

The browser uses your operating system's time zone. The 'time zone' line in the date-to-timestamp result shows which zone is in use.

📚 Worth reading
🗂️Organizing photos: culling, sorting and naming→ 🕐Unix Timestamps: Seconds vs Milliseconds and the Year 2038→ ⏱️How many minutes is 1.5 hours? Converting decimal hours and h:m:s→ 📅Date formats: ISO 8601 year-month-day vs US and European order→
← na.to